package two_xia.ex9.Demo11;

class RegularEmployee extends Employee {
    public RegularEmployee(String name, int workHours, double baseSalary) {
        super(name, workHours, baseSalary);
    }

    public void accept(Visitor visitor) {
        visitor.visit(this);
    }
}